package com.xn2001.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * Created by 乐心湖 on 2020/3/7 20:23
 */
@Data
public class Student {

    @TableId(type=IdType.AUTO)
    private Integer id;
    @TableField
    private String username;
    @TableField
    private String password;
}
